<!doctype html>
<html class="no-js">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>左侧菜单</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <link rel="stylesheet" href="__PUBLIC__/css/amazeui.min.css"/>
    <link rel="stylesheet" href="__PUBLIC__/css/admin.css">
</head>
<body>
<ul class="am-list admin-sidebar-list" style="border-right: 1px solid #cecece;">
    <li><a href="__ROOT__/admin.php/index/home" target="home_frame"><span class="am-icon-home"></span> 首页</a></li>
    <volist name="menu" id="list" key="key">
        <if condition="$list.top eq 0">
            <li class="admin-parent">
                <a class="am-cf" data-am-collapse="{target: '#collapse-nav-{$list.id}'}">
                    <span class="{$list.icon}"></span>
                    {$list.name}
                    <span class="am-icon-angle-right am-fr am-margin-right"></span>
                </a>
                <ul class="am-list am-collapse admin-sidebar-sub" id="collapse-nav-{$list.id}">
                    {:get_children_menu($list['id'])}
                </ul>
            </li>
        </if>
    </volist>
</ul>
<script type="text/javascript" src="__PUBLIC__/js/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/amazeui.min.js"></script>
</body>
</html>